from flask import Blueprint
from controllers.UserController import UserController

user = Blueprint('user', __name__)

# 登入登出
user.add_url_rule('/login', methods=['GET', 'POST'], view_func=UserController().login, endpoint='login')
user.add_url_rule('/logout', view_func=UserController().logout, endpoint='logout')
